package com.jueye.onlinetalk.controller;

import com.jueye.onlinetalk.common.domain.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/auth")
public class AuthController {

    @RequestMapping("/login")
    public R<String> login(){
        return R.ok("");
    }

    @RequestMapping("/register")
    public R<String> register(){
        return R.ok("success");
    }
}
